package com.nycreativity.elecreativity.entity.param.user

import com.nycreativity.elecreativity.entity.param.address.AddressAddParam
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.time.LocalDateTime
import javax.validation.constraints.Email
import javax.validation.constraints.NotBlank
import javax.validation.constraints.NotNull

@ApiModel("用户基本信息修改参数")
class UserUpdateParam(

    @field:NotNull
    @ApiModelProperty("id")
    var id: Long? = null,

    @ApiModelProperty("称谓")
    var title: String? = null,

    @ApiModelProperty("用户名")
    var name: String? = null,

    @ApiModelProperty("邮箱")
    var email: String? = null,

    @ApiModelProperty("生日 yyyy-MM-dd HH:mm:ss")
    var birthday: LocalDateTime? = null

)